export type InstanceListQueryParams = {
  current: number;
  size: number;
  appId: string;
};

export interface InstanceListItem {
  id: string;
  type: string;
  architecture: string;
  ifIntegrateCm: boolean;
  enterpriseSize: string;
  ifWithLicense: boolean;
  ifSupportLicenseMgmt: boolean;
  ifSupportFileSystem: boolean;
  skuCode: string;
  packageType: string;
  specification: string;
  isExpand: boolean;
  dbMultiTenantMode: string;
  appMultiTenantMode: string;
  appId: string;
  appName: string;
  total: number;
  status: boolean;
  expireTime: string;
  tenantType: number;
  modifyEnabled: boolean;
}
export interface InstanceParams {
  appId: string;
  tenantCode: string;
}
export type InstanceSaveDto = {
  id: string;
  appId: string;
  type: string;
  enterpriseSize: string;
  isExpand: boolean;
  specification: string;
  ifWithLicense: boolean;
  itemIds: any[];
  skuCode: string;
  productIds: string[];
  dbMultiTenantMode: string;
  appMultiTenantMode: string;
};

export type EcsParams = {
  packageId: string;
  appId: string;
};

export type EcsSpecificationInfo = {
  id: string;
  appId: string;
  packageId: string;
  imageRef: string;
  rootVolumeType: string;
  rootVolumeSize: string;
  dataVolumeType: string;
  dataVolumeSize: string;
  flavorRef: string;
  iptype: string;
  sharetype: string;
  bandwidthSize: string;
};
